<!DOCTYPE html>
<html>
<title>View transitions: span with overflowing text is rendered correctly (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">

<style>
div {
  background: grey;
}
span {
  text-shadow: red 2px 5px;
  visibility: hidden;
}

body {
  background: pink;
}
</style>

<div>
  <span>This text should render correctly</span>
</div>
